formal: fix permissions
authorGeorge Sapkin <[email protected]>
Tue, 25 Nov 2025 21:41:37 +0000 (23:41 +0200)
committerPaul Donald <[email protected]>
Mon, 15 Dec 2025 13:11:11 +0000 (14:11 +0100)
Enable Luci-specific Weblate exclusions.

Signed-off-by: George Sapkin <[email protected]>
.github/workflows/formal.yml

index 71e077126b60fe5d20c1d2d5f9c95b039e44dd48..be61d0e110487f18fc6ddf532b611aad2a91d290 100644 (file)
@@ -5,8 +5,16 @@ on:
 
 permissions:
   contents: read
+  pull-requests: write
 
 jobs:
   formalities:
     name: Test Formalities
     uses: openwrt/actions-shared-workflows/.github/workflows/formal.yml@main
+    with:
+      exclude_weblate: true
+    #   # Post formality check summaries to the PR.
+    #   # Repo's permissions need to be updated for actions to modify PRs:
+    #   # https://docs.github.com/en/rest/issues/comments?apiVersion=2022-11-28#create-an-issue-comment
+    #   post_comment: true
+    #   warn_on_no_modify: true